package com.siyuan2;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @className: UserService
 * @Description: TODO
 * @author: wzq
 * @date: 2022/8/25 15:11
 */
@Component
public class UserService {

	@Value("siyuan2")
	private User user;

	public void test() {
		System.out.println(user.toString());
	}

}
